﻿using HR.Config;
using HR.Models;

namespace HR.IService
{
    public interface IRolesService
    {
        Task<List<Role>> RoleFillRoles();
        Task<Paging<Role>> RoleFillRolesPG(int pgsize, int pgcurrent);
        Task<int> RoleInsertRole(Role re);
        Task<List<int>> FindMenusByRid(int rid);
        Task<int> RoleUpdateRole(Role re);
        Task<int> RoulMenuMidUdpOrAdd(List<RoleMenuMid> list);
        Task<int> RoleDeleteRole(int rid);
    }
}
